AKEY_STATE_UNKNOWN

Key states (may be returned by queries about the current state of a particular key code, scan code or switch).

Values

ValueMeaning
AKEY_STATE_UNKNOWN-1

The key state is unknown or the requested key itself is not supported.

AKEY_STATE_UP0

The key is up.

AKEY_STATE_DOWN1

The key is down.

AKEY_STATE_VIRTUAL2

The key is down but is a virtual key press that is being emulated by the system.

Meta